package com.baba.bracelet.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author wulongbo
 * @version 1.0
 * @date 2020/6/13 17:08
 * @description
 */

@Data
@TableName("tbl_prison_info")//@TableName中的值对应着表名
@ApiModel(value = "犯人信息表")
public class PrisonEntity {


    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", name = "id")
    @TableId(type = IdType.UUID)
    private String id;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名", name = "name")
    @Excel(name = "姓名" ,orderNum = "0")
    private String name;

    /**
     * 性别
     */
    @ApiModelProperty(value = "性别", name = "sex")
    @Excel(name = "性别" ,orderNum = "1")
    private Integer sex;

    /**
     * 名族
     */
    @ApiModelProperty(value = "名族", name = "family")
    @Excel(name = "名族" ,orderNum = "2")
    private Integer family;


    /**
     * 证件类型
     */
    @ApiModelProperty(value = "证件类型", name = "certificate_type")
    @Excel(name = "证件类型" ,orderNum = "3")
    private Integer certificateType;

    /**
     * 身份证号
     */
    @ApiModelProperty(value = "身份证号", name = "idCard")
    @Excel(name = "身份证号" ,orderNum = "4")
    private String idCard;

    /**
     * 婚姻状况(0：未婚/1：已婚/2：离异)
     */
    @ApiModelProperty(value = "婚姻状况(0：未婚/1：已婚/2：离异)", name = "isMarry")
    @Excel(name = "婚姻状况" ,orderNum = "5")
    private Integer isMarry;

    /**
     * 电话号码
     */
    @ApiModelProperty(value = "电话号码", name = "phoneNum")
    @Excel(name = "电话号码" ,orderNum = "6")
    private Integer phoneNum;

    /**
     * 行政归属
     */
    @ApiModelProperty(value = "行政归属", name = "dept")
    @Excel(name = "行政归属" ,orderNum = "7")
    private String dept;

    /**
     * 籍贯
     */
    @ApiModelProperty(value = "籍贯", name = "place")
    @Excel(name = "籍贯" ,orderNum = "8")
    private String place;

    /**
     * 居住地
     */
    @ApiModelProperty(value = "居住地", name = "live")
    @Excel(name = "居住地" ,orderNum = "9")
    private String live;

    /**
     * 出生地
     */
    @ApiModelProperty(value = "出生地", name = "born")
    @Excel(name = "出生地" ,orderNum = "10")
    private String born;

    /**
     * 出生日期
     */
    @ApiModelProperty(value = "出生日期", name = "bornData")
    @Excel(name = "出生日期" ,orderNum = "11")
    private Date bornData;

    /**
     * 身高(/cm)
     */
    @ApiModelProperty(value = "身高(/cm)", name = "hight")
    @Excel(name = "身高" ,orderNum = "12")
    private Object hight;

    /**
     * 体重(/kg)
     */
    @ApiModelProperty(value = "体重(/kg)", name = "weight")
    @Excel(name = "体重" ,orderNum = "13")
    private Object weight;

    /**
     * 头像
     */
    @ApiModelProperty(value = "头像", name = "headImg")
    @Excel(name = "头像" ,orderNum = "14")
    private String headImg;

    /**
     * 文化程度
     */
    @ApiModelProperty(value = "文化程度", name = "education")
    @Excel(name = "文化程度" ,orderNum = "15")
    private Integer education;

    /**
     * 政治面貌
     */
    @ApiModelProperty(value = "政治面貌", name = "outlook")
    @Excel(name = "政治面貌" ,orderNum = "16")
    private String outlook;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱", name = "email")
    @Excel(name = "邮箱" ,orderNum = "17")
    private String email;

    /**
     * 座机
     */
    @ApiModelProperty(value = "座机", name = "tellPhone")
    @Excel(name = "座机" ,orderNum = "18")
    private String tellPhone;

    /**
     * 健康状况
     */
    @ApiModelProperty(value = "健康状况", name = "health")
    @Excel(name = "健康状况" ,orderNum = "19")
    private String health;

    /**
     * 所属机构
     */
    @ApiModelProperty(value = "所属机构", name = "organ")
    @Excel(name = "所属机构" ,orderNum = "20")
    private String organ;

    /**
     * 开始矫正日期
     */
    @ApiModelProperty(value = "开始矫正日期", name = "createTime")
    @Excel(name = "开始矫正日期" ,orderNum = "21")
    private Date createTime;

    /**
     * 结束矫正日期
     */
    @ApiModelProperty(value = "结束矫正日期", name = "modifyTime")
    @Excel(name = "结束矫正日期" ,orderNum = "22")
    private Date modifyTime;

    /**
     * 监管状态
     */
    @ApiModelProperty(value = "监管状态", name = "watchState")
    @Excel(name = "监管状态" ,orderNum = "23")
    private Integer watchState;

    /**
     * 犯罪罪名
     */
    @ApiModelProperty(value = "犯罪罪名", name = "crime")
    @Excel(name = "犯罪罪名" ,orderNum = "24")
    private String crime;
}
